﻿using System;
using System.ComponentModel;
using DevExpress.Xpo;
using DevExpress.Data.Filtering;
using DevExpress.ExpressApp;
using DevExpress.Persistent.Base;
using DevExpress.Persistent.BaseImpl;
using DevExpress.Persistent.Validation;
namespace Top.Module.Domain
{
    [DefaultClassOptions]
    public class TopWlbInventory : BaseObject
    {
        //begin
        public TopWlbInventory(Session session) : base(session)
        {}
        public override void AfterConstruction(){base.AfterConstruction();}

        private string _ItemId;
        [Size(SizeAttribute.Unlimited)]
        public string ItemId
        {
            get
            {
                return _ItemId;
            }
            set
            {
                SetPropertyValue("ItemId", ref _ItemId, value);
            }
        }
        private string _UserId;
        [Size(SizeAttribute.Unlimited)]
        public string UserId
        {
            get
            {
                return _UserId;
            }
            set
            {
                SetPropertyValue("UserId", ref _UserId, value);
            }
        }
        private string _StoreCode;
        [Size(SizeAttribute.Unlimited)]
        public string StoreCode
        {
            get
            {
                return _StoreCode;
            }
            set
            {
                SetPropertyValue("StoreCode", ref _StoreCode, value);
            }
        }
        private long _Quantity;
        public long Quantity
        {
            get
            {
                return _Quantity;
            }
            set
            {
                SetPropertyValue("Quantity", ref _Quantity, value);
            }
        }
        private long _LockQuantity;
        public long LockQuantity
        {
            get
            {
                return _LockQuantity;
            }
            set
            {
                SetPropertyValue("LockQuantity", ref _LockQuantity, value);
            }
        }
        private string _Type;
        [Size(SizeAttribute.Unlimited)]
        public string Type
        {
            get
            {
                return _Type;
            }
            set
            {
                SetPropertyValue("Type", ref _Type, value);
            }
        }
        //end
    }
}
